# author: LiuShihao
# data: 2020/12/1 5:12 下午
# youknow: 各位老铁,我的这套代码曾经有人出价三个亿我没有卖,如今拿出来和大家分享,不求别的,只求大家免费的小红心帮忙点一点,这里谢过了。
# desc:
import os
path = os.getcwd()
list_files = os.walk(path)
for dirpath,dirname,filename in list_files:
    """print(dirpath)
    print(dirname)
    print(filename)
    print("--------------------")"""
    for dir in dirname:
        print(os.path.join(dirpath,dir))
    print("--------------------")
    for file in filename:
        print(os.path.join(dirpath, file))